Anonymizes the specified directory searching for files with the specified pattern.
public virtual void Anonymize(
string searchDirectory,
string pattern,
string outputDir,
bool allDirectories,
List<AnonymizationKey> anonymizationKeys,
ImageSettings settings
)
Public Overloads Overridable Sub Anonymize( _
ByVal searchDirectory As String, _
ByVal pattern As String, _
ByVal outputDir As String, _
ByVal allDirectories As Boolean, _
ByVal anonymizationKeys As List(Of AnonymizationKey), _
ByVal settings As Leadtools.Dicom.Common.Anonymization.ImageSettings _
)
public:
virtual void Anonymize(
String^ searchDirectory,
String^ pattern,
String^ outputDir,
bool allDirectories,
List<AnonymizationKey^>^ anonymizationKeys,
Leadtools.Dicom.Common.Anonymization.ImageSettings^ settings
)
searchDirectory
The search directory to look for DICOM files.
pattern
The pattern to search for.
outputDir
The output directory for the anonymized files.
allDirectories
true
to search all directories; otherwise, search only the top level directory.
anonymizationKeys
The anonymization keys used to find unique keys to maintain across files.
settings
The image settings to apply when changing the image in the anonymized dataset.
This method will return patient id, study instance uid, and series instance uid for matching files in the searched directories. The settings are only valid if you apply BlackoutRects to the anonymized images. Doing this will require that the image be re-inserted into the anonymized dataset.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET